/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */



import java.io.Serializable;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import javax.faces.event.ActionEvent;

/**
 *
 * @author Mike
 */
@SessionScoped
@ManagedBean
public class Controler implements  Serializable{

     public void irPagina1(ActionEvent actionEvent) {
        contenido=pagina1;      
    }
    public void irPagina2(ActionEvent actionEvent) {
                contenido=pagina2;      
    }
        /*Setters y Getters*/
        
    private String menu="menu.xhtml";
        private String contenido="contenido_inicial.xhtml";     
        private String pagina1="pagina1.xhtml";
        private String pagina2="pagina2.xhtml";
        
        
             
   

}
